// build.js
var jtaroBundle = require('jtaro-bundle')
var uglify = require('rollup-plugin-uglify')

jtaroBundle.bundle({
  rollupPlugins: [uglify()],
  origin: 'dev/index.html',  // 站点目录
  target: 'pro/index.html',  // 源目录
  copies: ['./assets/', './data/'], // 目标文件
  sourceMap: true
})
